package com.chenfeng.ego.service.impl;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chenfeng.ego.commons.pojo.EasyUIDataGrid;
import com.chenfeng.ego.commons.pojo.EasyUiTree;
import com.chenfeng.ego.mapper.MyTbCatParam;
import com.chenfeng.ego.mapper.TbItemCatMapper;
import com.chenfeng.ego.pojo.MyTbCatParams;
import com.chenfeng.ego.service.TbItemCatService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
@Service("tbItemCatService")
public class TbItemCatServiceImpl implements TbItemCatService 
{
	@Resource
	TbItemCatMapper catMapper;

	@Override
	//通过传回来的参数进行修改 在mapper里面把它封装成一棵树这棵树是jsp页面所需要的
	public List<EasyUiTree> selCatByParentId(long id)
	{
		return this.catMapper.selByParentId(id);	
	}

}
